/*
 * 项目名称:    wms-app-xinpu
 * 创建人员:    DongPeng
 * 创建时间:    2023-02-28
 * copyright(c) 2022 无锡星智数服科技有限公司
 */
package org.jeecg.modules.dock.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * sap响应枚举
 *
 * @author DongPeng
 * @version 1.0.0
 * @date 2023-02-28
 * @description 类描述
 */
@Getter
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public enum DockDataStatus implements BaseEnum {
    @JsonProperty("S")
    SUCCESS("S", "成功"),
    @JsonProperty("E")
    FAILURE("E", "失败"),
    @JsonProperty("S")
    S("S", "成功"),
    @JsonProperty("E")
    E("E", "失败"),
    @JsonProperty("partSuccess")
    PART_SUCCESS("partSuccess", "部分成功");

    private final String code;
    private final String remark;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public String getEnumName() {
        return "接口数据状态";
    }
}
